import Vue from 'vue'
import 'normalize.css/normalize.css' // A modern alternative to CSS resets
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n
import '@/styles/index.scss' // global css
import './styles/print.css';
import App from './App'
import store from './store'
import router from './router'
import '@/icons' // icon
import '@/permission' // permission control
import qs from 'qs'
import './styles/wjj.css'
import uploader from 'vue-simple-uploader'
import {
  host
} from '@/config'
Vue.prototype.$qs = qs
Vue.prototype.$host = host;
import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/index.css'
import Print from '@/plugs/print.js'
import 'vue-easytable/libs/themes-base/index.css'
import {
  VTable,
  VPagination
} from 'vue-easytable'
Vue.component(VTable.name, VTable)
Vue.component(VPagination.name, VPagination)
Vue.use(ElementUI, {
  locale
})
Vue.use(Print)
Vue.use(VXETable)
Vue.use(uploader)
// 如果想要中文版 element-ui，按如下方式声明
// Vue.use(ElementUI)
Vue.config.productionTip = false
var vm=new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})


